(function(){

	etlinking.views.online = new OnlineFunc();

	function OnlineFunc () {
		var _self = this;

		_self.init = init;

		var gameUrls = nsbase.config.actionUrl.game;
		function init () {
      		$(".nav_menu li.Online").addClass("selected");
			bindHandlers();
		}

		function bindHandlers() {
			$(".g_select dd").hover(function(){
				var sender = $(this),
					descDiv = sender.find(".g_desc");
				descDiv.css({"margin-top":140-descDiv.height()+"px"});

				//descDiv.animate({"margin-top":140-descDiv.height()+"px"},500);
			},function(){
				var sender = $(this),
					descDiv = sender.find(".g_desc");
				descDiv.css({"margin-top":"140px"});
				//descDiv.animate({"margin-top":"140px"},500);
			});
		}
	}
})();